package practicacupfinal;

public class Token {
        int line;
        int colum;
        String lex;
       
        public Token(int line,int colum, String text){
                this.lex = text;
                this.line = line;
                this.colum = colum;
        }
       
        public String lex() {
                return lex;
        }
       
        public int getLine() {
                return line;
        }
       
        public int getColum() {
                return colum;
        }
       
        public String getFilaColumna(){
                return "(" + line + "," + colum +")";
        }
}
